<?
global $item_data;
global $item_names;
global $item_default_spawn;
global $item_max_spawn;

$item_default_spawn = 64; 	//Used by spawn and admin plugins. The default quantity for spawned items, if not otherwise specified.
$item_max_spawn = 128;		//Used by spawn plugin. The default maximum quantity for spawned items, if not otherwise specified.


$item_data = array();
/*
FIELD DEFINITIONS:

name:			A generic display name for this item.
spawnable:		Used by spawn plugin. If true, players may spawn this item.
defaultspawn:	Used by spawn & admin plugins. This is the default quantity if none given. Overrides $item_default_spawn.
maxspawn:		Used by spawn plugin. This is the maximum quantity for a single spawn command. Overrides $item_max_spawn.
blacklisted:		Used by spawn and admin plugins. These items are not spawnable by anyone, including admins.
spawnoverride:	Used by spawn plugin. The value is a comma-delimited (no spaces!) list of players who may spawn this item, even if spawnable is set to false.

NOTE: This nested array of item data is intended to house any item-level configuration values. Plugin authors should make use of this existing structure, and add additional flags/values here.
*/

//Blocks
$item_data[0] = 	array( "name" => "air", 				"spawnable" => false );
$item_data[1] = 	array( "name" => "rock", 				"spawnable" => true,	 	"maxspawn" => 256 );
$item_data[2] =		array( "name" => "grass",				"spawnable" => true, 	 	"maxspawn" => 256 );
$item_data[3] = 	array( "name" => "dirt", 				"spawnable" => true, 	 	"maxspawn" => 256 );
$item_data[4] = 	array( "name" => "cobblestone", 		"spawnable" => true, 	 	"maxspawn" => 256 );
$item_data[5] = 	array( "name" => "wood", 				"spawnable" => true, 	 	"maxspawn" => 256 );
$item_data[6] = 	array( "name" => "sapling", 			"spawnable" => true);
$item_data[7] = 	array( "name" => "adminium", 			"spawnable" => false, 		"blacklisted" => true );
$item_data[8] = 	array( "name" => "water", 				"spawnable" => false);
$item_data[9] = 	array( "name" => "still water", 		"spawnable" => false);
$item_data[10] = 	array( "name" => "lava", 				"spawnable" => false);
$item_data[11] = 	array( "name" => "still lava", 			"spawnable" => false);
$item_data[12] = 	array( "name" => "sand", 				"spawnable" => true, 	 	"maxspawn" => 256 );
$item_data[13] = 	array( "name" => "gravel", 				"spawnable" => true, 	 	"maxspawn" => 256 );
$item_data[14] = 	array( "name" => "gold ore",			"spawnable" => false);
$item_data[15] = 	array( "name" => "iron ore", 			"spawnable" => false);
$item_data[16] = 	array( "name" => "coal ore", 			"spawnable" => false);
$item_data[17] = 	array( "name" => "tree", 				"spawnable" => true, 	 	"maxspawn" => 256 );
$item_data[18] = 	array( "name" => "leaves", 				"spawnable" => false);
$item_data[19] = 	array( "name" => "sponge", 				"spawnable" => false);
$item_data[20] = 	array( "name" => "glass", 				"spawnable" => true, 	 	"maxspawn" => 256 );
$item_data[35] = 	array( "name" => "cloth", 				"spawnable" => true, 	 	"maxspawn" => 256 );
$item_data[37] = 	array( "name" => "flower", 				"spawnable" => true);
$item_data[38] = 	array( "name" => "rose", 				"spawnable" => true);
$item_data[39] = 	array( "name" => "brown mushroom", 		"spawnable" => true);
$item_data[40] = 	array( "name" => "red mushroom", 		"spawnable" => true);
$item_data[41] = 	array( "name" => "gold block", 			"spawnable" => true);
$item_data[42] = 	array( "name" => "iron block", 			"spawnable" => true);
$item_data[43] = 	array( "name" => "double stair", 		"spawnable" => true);
$item_data[44] = 	array( "name" => "stair", 				"spawnable" => true);
$item_data[45] = 	array( "name" => "brick", 				"spawnable" => true);
$item_data[46] = 	array( "name" => "TNT", 				"spawnable" => false, 	 	"spawnoverride" => "Weasel_Boy" );
$item_data[47] = 	array( "name" => "bookshelf", 			"spawnable" => true);
$item_data[48] = 	array( "name" => "mossy cobblestone", 	"spawnable" => true, "maxspawn" => 256);
$item_data[49] = 	array( "name" => "obsidian", 			"spawnable" => false, 	 	"maxspawn" => 256, 	 "spawnoverride" => "Weasel_Boy" );
$item_data[50] = 	array( "name" => "torch", 				"spawnable" => true);
$item_data[51] = 	array( "name" => "fire", 				"spawnable" => false);
$item_data[52] = 	array( "name" => "mob spawner",			"spawnable" => false);
$item_data[53] = 	array( "name" => "wood stairs", 		"spawnable" => true);
$item_data[54] = 	array( "name" => "chest", 				"spawnable" => false);
$item_data[55] = 	array( "name" => "redstone dust", 		"spawnable" => false);
$item_data[56] = 	array( "name" => "diamond ore", 		"spawnable" => false);
$item_data[57] = 	array( "name" => "diamond block", 		"spawnable" => false);
$item_data[58] = 	array( "name" => "workbench", 			"spawnable" => false);
$item_data[59] = 	array( "name" => "crop", 				"spawnable" => false);
$item_data[60] = 	array( "name" => "soil", 				"spawnable" => false);
$item_data[61] = 	array( "name" => "furnace", 			"spawnable" => false);
$item_data[62] = 	array( "name" => "lit furnace", 		"spawnable" => false);
$item_data[63] = 	array( "name" => "sign block", 			"spawnable" => false);
$item_data[64] = 	array( "name" => "wood door block", 	"spawnable" => false);
$item_data[65] = 	array( "name" => "ladder", 				"spawnable" => true);
$item_data[66] = 	array( "name" => "rails", 				"spawnable" => false);
$item_data[67] = 	array( "name" => "cobblestone stairs", 	"spawnable" => true);
$item_data[68] = 	array( "name" => "sign block top", 		"spawnable" => false);
$item_data[69] = 	array( "name" => "lever", 				"spawnable" => false);
$item_data[70] = 	array( "name" => "rock plate", 			"spawnable" => false);
$item_data[71] = 	array( "name" => "iron door block", 	"spawnable" => false);
$item_data[72] = 	array( "name" => "wood plate", 			"spawnable" => false);
$item_data[73] = 	array( "name" => "redstone ore 1", 		"spawnable" => false);
$item_data[74] = 	array( "name" => "redstone ore 2", 		"spawnable" => false);
$item_data[75] = 	array( "name" => "redstone torch off", 	"spawnable" => false);
$item_data[76] = 	array( "name" => "redstone torch on", 	"spawnable" => false);
$item_data[77] = 	array( "name" => "button", 				"spawnable" => false);
$item_data[78] = 	array( "name" => "snow", 				"spawnable" => true);
$item_data[79] = 	array( "name" => "ice", 				"spawnable" => false, 	 	"spawnoverride" => "Supernaut26" );
$item_data[80] = 	array( "name" => "snow block", 			"spawnable" => true);
$item_data[81] = 	array( "name" => "cactus", 				"spawnable" => false);
$item_data[82] = 	array( "name" => "clay", 				"spawnable" => true, 	 	"maxspawn" => 256 );
$item_data[83] = 	array( "name" => "reed block", 			"spawnable" => false);
$item_data[84] = 	array( "name" => "jukebox", 			"spawnable" => false);

//Items
$item_data[256] = 	array( "name" => "iron shovel", 		"spawnable" => true, 		"defaultspawn" => 1);
$item_data[257] = 	array( "name" => "iron pickaxe", 		"spawnable" => true, 		"defaultspawn" => 1);
$item_data[258] = 	array( "name" => "iron axe", 			"spawnable" => true, 		"defaultspawn" => 1);
$item_data[259] = 	array( "name" => "flint and steel", 	"spawnable" => false, 		"defaultspawn" => 1);
$item_data[260] = 	array( "name" => "apple", 				"spawnable" => false);
$item_data[261] = 	array( "name" => "bow", 				"spawnable" => true, 		"defaultspawn" => 1);
$item_data[262] = 	array( "name" => "arrow", 				"spawnable" => true);
$item_data[263] = 	array( "name" => "coal", 				"spawnable" => true);
$item_data[265] = 	array( "name" => "iron bar", 			"spawnable" => true);
$item_data[266] = 	array( "name" => "gold bar", 			"spawnable" => true);
$item_data[268] = 	array( "name" => "wood sword", 			"spawnable" => true, 		"defaultspawn" => 1);
$item_data[269] = 	array( "name" => "wood shovel", 		"spawnable" => true, 		"defaultspawn" => 1);
$item_data[270] = 	array( "name" => "wood pickaxe", 		"spawnable" => true, 		"defaultspawn" => 1);
$item_data[271] = 	array( "name" => "wood axe", 			"spawnable" => true, 		"defaultspawn" => 1);
$item_data[272] = 	array( "name" => "stone sword", 		"spawnable" => true, 		"defaultspawn" => 1);
$item_data[273] = 	array( "name" => "stone shovel", 		"spawnable" => true, 		"defaultspawn" => 1);
$item_data[274] = 	array( "name" => "stone pickaxe", 		"spawnable" => true, 		"defaultspawn" => 1);
$item_data[275] = 	array( "name" => "stone axe", 			"spawnable" => true, 		"defaultspawn" => 1);
$item_data[276] = 	array( "name" => "diamond sword", 		"spawnable" => true, 		"defaultspawn" => 1);
$item_data[277] = 	array( "name" => "diamond shovel", 		"spawnable" => true, 		"defaultspawn" => 1);
$item_data[278] = 	array( "name" => "diamond pickaxe", 	"spawnable" => true, 		"defaultspawn" => 1);
$item_data[279] = 	array( "name" => "diamond axe", 		"spawnable" => true, 		"defaultspawn" => 1);
$item_data[280] = 	array( "name" => "stick", 				"spawnable" => true);
$item_data[281] = 	array( "name" => "bowl", 				"spawnable" => false);
$item_data[282] = 	array( "name" => "soup", 				"spawnable" => false);
$item_data[283] = 	array( "name" => "gold sword", 			"spawnable" => true, 		"defaultspawn" => 1);
$item_data[284] = 	array( "name" => "gold shovel", 		"spawnable" => true, 		"defaultspawn" => 1);
$item_data[285] = 	array( "name" => "gold pickaxe", 		"spawnable" => true, 		"defaultspawn" => 1);
$item_data[286] = 	array( "name" => "golden axe", 			"spawnable" => true, 		"defaultspawn" => 1);
$item_data[287] = 	array( "name" => "string", 				"spawnable" => true);
$item_data[288] = 	array( "name" => "feather", 			"spawnable" => true);
$item_data[289] = 	array( "name" => "gunpowder", 			"spawnable" => false);
$item_data[290] = 	array( "name" => "wood hoe", 			"spawnable" => true, 		"defaultspawn" => 1);
$item_data[291] = 	array( "name" => "stone hoe", 			"spawnable" => true, 		"defaultspawn" => 1);
$item_data[292] = 	array( "name" => "iron hoe", 			"spawnable" => true, 		"defaultspawn" => 1);
$item_data[293] = 	array( "name" => "diamond hoe", 		"spawnable" => true, 		"defaultspawn" => 1);
$item_data[294] = 	array( "name" => "gold hoe", 			"spawnable" => true, 		"defaultspawn" => 1);
$item_data[295] = 	array( "name" => "seeds", 				"spawnable" => true);
$item_data[296] = 	array( "name" => "wheat", 				"spawnable" => false);
$item_data[297] = 	array( "name" => "bread", 				"spawnable" => false);
$item_data[298] = 	array( "name" => "leather helmet", 		"spawnable" => false, 		"defaultspawn" => 1);
$item_data[299] = 	array( "name" => "leather chestplate", 	"spawnable" => false, 		"defaultspawn" => 1);
$item_data[300] = 	array( "name" => "leather pants", 		"spawnable" => false, 		"defaultspawn" => 1);
$item_data[301] = 	array( "name" => "leather boots", 		"spawnable" => false, 		"defaultspawn" => 1);
$item_data[302] = 	array( "name" => "chainmail helmet", 	"spawnable" => false, 		"defaultspawn" => 1);
$item_data[303] = 	array( "name" => "chainmail chestplate", "spawnable" => false, 		"defaultspawn" => 1);
$item_data[304] = 	array( "name" => "chainmail pants", 	"spawnable" => false, 		"defaultspawn" => 1);
$item_data[305] = 	array( "name" => "chainmail boots", 	"spawnable" => false, 		"defaultspawn" => 1);
$item_data[306] = 	array( "name" => "iron helmet", 		"spawnable" => false, 		"defaultspawn" => 1);
$item_data[307] = 	array( "name" => "iron chestplate", 	"spawnable" => false, 		"defaultspawn" => 1);
$item_data[308] = 	array( "name" => "iron pants", 			"spawnable" => false, 		"defaultspawn" => 1);
$item_data[309] = 	array( "name" => "iron boots", 			"spawnable" => false, 		"defaultspawn" => 1);
$item_data[310] = 	array( "name" => "diamond helmet", 		"spawnable" => false, 		"defaultspawn" => 1);
$item_data[311] = 	array( "name" => "diamond chestplate", 	"spawnable" => false, 		"defaultspawn" => 1);
$item_data[312] = 	array( "name" => "diamond pants", 		"spawnable" => false, 		"defaultspawn" => 1);
$item_data[313] = 	array( "name" => "diamond boots", 		"spawnable" => false, 		"defaultspawn" => 1);
$item_data[314] = 	array( "name" => "gold helmet", 		"spawnable" => false, 		"defaultspawn" => 1);
$item_data[315] = 	array( "name" => "gold chestplate", 	"spawnable" => false, 		"defaultspawn" => 1);
$item_data[316] = 	array( "name" => "gold pants", 			"spawnable" => false, 		"defaultspawn" => 1);
$item_data[317] = 	array( "name" => "gold boots", 			"spawnable" => false, 		"defaultspawn" => 1);
$item_data[318] = 	array( "name" => "flint", 				"spawnable" => true);
$item_data[319] = 	array( "name" => "meat", 				"spawnable" => false);
$item_data[320] = 	array( "name" => "cooked meat", 		"spawnable" => false);
$item_data[321] = 	array( "name" => "painting", 			"spawnable" => true, 		"defaultspawn" => 16);
$item_data[322] = 	array( "name" => "golden apple", 		"spawnable" => false);
$item_data[323] = 	array( "name" => "sign", 				"spawnable" => true, 		"defaultspawn" => 16);
$item_data[324] = 	array( "name" => "wood door", 			"spawnable" => true, 		"defaultspawn" => 16);
$item_data[325] = 	array( "name" => "bucket", 				"spawnable" => false, 		"defaultspawn" => 1);
$item_data[326] = 	array( "name" => "water bucket", 		"spawnable" => false, 		"defaultspawn" => 1);
$item_data[327] = 	array( "name" => "lava bucket", 		"spawnable" => false, 		"defaultspawn" => 1);
$item_data[328] = 	array( "name" => "minecart", 			"spawnable" => false, 		"defaultspawn" => 1);
$item_data[329] = 	array( "name" => "saddle", 				"spawnable" => false, 		"defaultspawn" => 1);
$item_data[330] = 	array( "name" => "iron door", 			"spawnable" => false, 		"defaultspawn" => 16);
$item_data[331] = 	array( "name" => "redstone dust", 		"spawnable" => false);
$item_data[332] = 	array( "name" => "snowball", 			"spawnable" => false, 		"defaultspawn" => 16);
$item_data[333] = 	array( "name" => "boat", 				"spawnable" => true, 		"defaultspawn" => 1);
$item_data[334] = 	array( "name" => "leather", 			"spawnable" => false);
$item_data[335] = 	array( "name" => "milk bucket", 		"spawnable" => false);
$item_data[336] = 	array( "name" => "brick", 				"spawnable" => true);
$item_data[337] = 	array( "name" => "clay blobs", 			"spawnable" => false);
$item_data[338] = 	array( "name" => "reed", 				"spawnable" => true);
$item_data[339] = 	array( "name" => "paper", 				"spawnable" => false);
$item_data[340] = 	array( "name" => "book", 				"spawnable" => false);
$item_data[341] = 	array( "name" => "slime orb", 			"spawnable" => false);
$item_data[342] = 	array( "name" => "storage minecart", 	"spawnable" => false);
$item_data[343] = 	array( "name" => "powered minecart", 	"spawnable" => false);
$item_data[344] = 	array( "name" => "egg", 				"spawnable" => false);

/*
ID Lookup Array
The following is an an array intended to be used for name lookups for specific items. It contains single words (no spaces) mapped to ID values, and is not 1:1 (because one item is often called several things). Also, be aware that some plugins may make use of similar_text() or levenshtein() to account for typos or plurals.
*/

$item_names = array ( "air" => 0,
					  "rock" => 1,
					  "stone" => 1,
					  "grass" => 2,
					  "dirt" => 3,
					  "cobblestone" => 4,
					  "cobble" => 4,
					  "wood" => 5,
					  "sapling" => 6,
					  "twig" => 6,
					  "adminium" => 7,
					  "water" => 8,
					  "stillwater" => 9,
					  "watersource" => 9,
					  "lava" => 10,
					  "magma" => 10,
					  "stilllava" => 11,
					  "lavasource" => 11,
					  "magmasource" => 11,
					  "sand" => 12,
					  "gravel" => 13,
					  "goldore" => 14,
					  "ironore" => 15,
					  "coalore" => 16,
					  "tree" => 17,
					  "leaves" => 18,
					  "sponge" => 19,
					  "glass" => 20,
					  "cloth" => 35,
					  "wool" => 35,
					  "flower" => 37,
					  "yellowflower" => 37,
					  "buttercup" => 37,
					  "rose" => 38,
					  "redflower" => 38,
					  "brownmushroom" => 39,
					  "redmushroom" => 40,
					  "gold" => 41,
					  "goldblock" => 41,
					  "ironblock" => 42,
					  "doublestair" => 43,
					  "doublestep" => 43,
					  "stair" => 44,
					  "step" => 44,
					  "halfstep" => 44,
					  "brick" => 45,
					  "tnt" => 46,
					  "bookshelf" => 47,
					  "bookcase" => 47,
					  "mossycobblestone" => 48,
					  "mossycobble" => 48,
					  "mossystone" => 48,
					  "mossy" => 48,
					  "obsidian" => 49,
					  "torch" => 50,
					  "fire" => 51,
					  "spawner" => 52,
					  "spawn" => 52,
					  "mobspawn" => 52,
					  "mob" => 52,
					  "woodstairs" => 53,
					  "woodsteps" => 53,
					  "chest" => 54,
					  "redstonedust" => 55,
					  "reddust" => 55,
					  "diamond" => 56,
					  "diamondore" => 56,
					  "diamondblock" => 57,
					  "workbench" => 58,
					  "craftingbox" => 58,
					  "craftingtable" => 58,
					  "crop" => 59,
					  "soil" => 60,
					  "furnace" => 61,
					  "stove" => 61,
					  "forge" => 61,
					  "litfurnace" => 62,
					  "signblock" => 63,
					  "wooddoorblock" => 64,
					  "ladder" => 65,
					  "rails" => 66,
					  "cobblestonestairs" => 67,
					  "cobblestairs" => 67,
					  "stonestairs" => 67,
					  "stairs" => 67,
					  "signtop" => 68,
					  "lever" => 69,
					  "switch" => 69,
					  "rockplate" => 70,
					  "stoneplate" => 70,
					  "irondoorblock" => 71,
					  "woodplate" => 72,
					  "pressureplate" => 72,
					  "redstone" => 73,
					  "redstoneore" => 73,
					  "redstone2" => 74,
					  "redstoneore2" => 74,
					  "redstonetorchoff" => 75,
					  "redstonetorchon" => 76,
					  "redstonetorch" => 76,
					  "button" => 77,
					  "snow" => 78,
					  "ice" => 79,
					  "iceblock" => 79,
					  "snowblock" => 80,
					  "cactus" => 81,
					  "clay" => 82,
					  "reedblock" => 83,
					  "jukebox" => 84,
					  "recordplayer" => 84,
					  "musicbox" => 84,
					  
					  "iron" => 265,
					  "ironbar" => 265,
					  "ironore" => 265,
					  "goldenaxe" => 286,
					  "seeds" => 295,
					  "seed" => 295,
					  "reed" => 338, 
					  "bamboo" => 338 );
?>
